package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 景点管理对象 tour_sight
 *
 * @author once
 * @date 2020-10-02
 */
public class TourSight extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 景点ID */
    private Long sightid;

    /** 景点名称 */
    @Excel(name = "景点名称")
    private String sightname;

    /** 经度 */
    @Excel(name = "经度")
    private Long longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private Long latitude;

    /** 简介 */
    @Excel(name = "简介")
    private String introduction;

    /** 图片信息1 */
    @Excel(name = "图片信息1")
    private String image1;

    /** 图片信息2 */
    @Excel(name = "图片信息2")
    private String image2;

    /** 图片信息3 */
    @Excel(name = "图片信息3")
    private String image3;

    /** 价格或平均消费 */
    @Excel(name = "价格或平均消费")
    private Long price;

    /** 开放时间 */
    @Excel(name = "开放时间")
    private String openTime;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 被点赞次数 */
    @Excel(name = "被点赞次数")
    private Long likedTime;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDelete;

    public void setSightid(Long sightid)
    {
        this.sightid = sightid;
    }

    public Long getSightid()
    {
        return sightid;
    }
    public void setSightname(String sightname)
    {
        this.sightname = sightname;
    }

    public String getSightname()
    {
        return sightname;
    }
    public void setLongitude(Long longitude)
    {
        this.longitude = longitude;
    }

    public Long getLongitude()
    {
        return longitude;
    }
    public void setLatitude(Long latitude)
    {
        this.latitude = latitude;
    }

    public Long getLatitude()
    {
        return latitude;
    }
    public void setIntroduction(String introduction)
    {
        this.introduction = introduction;
    }

    public String getIntroduction()
    {
        return introduction;
    }
    public void setImage1(String image1)
    {
        this.image1 = image1;
    }

    public String getImage1()
    {
        return image1;
    }
    public void setImage2(String image2)
    {
        this.image2 = image2;
    }

    public String getImage2()
    {
        return image2;
    }
    public void setImage3(String image3)
    {
        this.image3 = image3;
    }

    public String getImage3()
    {
        return image3;
    }
    public void setPrice(Long price)
    {
        this.price = price;
    }

    public Long getPrice()
    {
        return price;
    }
    public void setOpenTime(String openTime)
    {
        this.openTime = openTime;
    }

    public String getOpenTime()
    {
        return openTime;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setLikedTime(Long likedTime)
    {
        this.likedTime = likedTime;
    }

    public Long getLikedTime()
    {
        return likedTime;
    }
    public void setIsDelete(String isDelete)
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete()
    {
        return isDelete;
    }
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
    public void setCreatetime(Date checkTime) {
        this.createtime = checkTime;
    }



    public Date getCreatetime() {
        return createtime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sightid", getSightid())
            .append("sightname", getSightname())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("introduction", getIntroduction())
            .append("image1", getImage1())
            .append("image2", getImage2())
            .append("image3", getImage3())
            .append("price", getPrice())
            .append("openTime", getOpenTime())
            .append("phone", getPhone())
            .append("likedTime", getLikedTime())
            .append("isDelete", getIsDelete())
            .append("createtime", getCreatetime())
            .toString();
    }
}
